package com.yfqy.admin.service;

import com.github.pagehelper.PageInfo;
import com.yfqy.admin.domain.dto.brand.AddBrand;
import com.yfqy.admin.domain.dto.brand.BrandDetail;
import com.yfqy.admin.domain.dto.brand.BrandQuery;
import com.yfqy.admin.domain.dto.brand.ModifyBrand;
import com.yfqy.admin.domain.entity.Brand;
import com.yfqy.admin.domain.vo.common.ResultVO;

public interface BrandService {


    int deleteByPrimaryKey(Long id);

    int insert(Brand record);

    int insertSelective(Brand record);

    Brand selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Brand record);

    int updateByPrimaryKey(Brand record);

    ResultVO<PageInfo<BrandDetail>> brandPageList(BrandQuery brandQuery);

    ResultVO<Long> addBrand(AddBrand addBrand);

    ResultVO<Void> modifyBrand(ModifyBrand modifyBrand);

    ResultVO<BrandDetail> selectById(Long id);
}
